package com.visec.hdy.task;

import java.io.Serializable;
import java.rmi.RemoteException;
import java.util.Map;

public class ServerTaskImp implements ServerTaskInter, Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Map<String, String> m;
	private String action;

	

	public ServerTaskImp(Map<String, String> m, String action) {
		this.m = m;
		this.action = action;
	}

	@Override
	public Map<String, String> getSyncGetConfig() throws RemoteException {
		// TODO Auto-generated method stub
		return m;
	}

	@Override
	public String getAction() throws RemoteException {
		// TODO Auto-generated method stub
		return action;
	}

}
